package edu.bbu.license.client.android.gui.guest;

import android.view.View.OnClickListener;

public interface GuestView {
	
	public static final int LOGIN_PAGE = 0;
	public static final int REGISTER_PAGE = 1;
	public static final int FORGORPWD_PAGE = 2;
	
	public void setActivePage(int page);
	
	public void openFilesView();
	public void closeGuestView();
	
	public void setHeaderLoginButtonListener(OnClickListener onClickListener);
	public void setHeaderRegisterButtonListener(OnClickListener onClickListener);
	public void setHeaderForgotPwdButtonListener(OnClickListener onClickListener);
	
	public void setGuestLoginButtonListener(OnClickListener onClickListener);
	public void setGuestRegisterButtonListener(OnClickListener onClickListener);
	public void setGuestForgotPwdButtonListener(OnClickListener onClickListener);
		
	public String getLoginEmail();
	public String getLoginPassword();
	public void setLoginError(int resource);
	public void setLoginError(String message);
	public void resetLoginError();
	public void showLoginProgressIndicator();
	public void hideLoginProgressIndicator();
	
	public String getRegisterEmail();
	public String getRegisterConfEmail();
	public void setRegisterError(int resource);
	public void setRegisterError(String message);
	public void resetRegisterError();
	public void showRegisterProgressIndicator();
	public void hideRegisterProgressIndicator();
	
	public String getForgotPwdEmail();
	public void setForgotPwdError(int resource);
	public void setForgotPwdError(String message);
	public void resetForgotPwdError();
	public void showForgotPwdProgressIndicator();
	public void hideForgotPwdProgressIndicator();
}
